package com.boot.study.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Description 漂移库 每个项目的库
 * @Author likz
 * @Date 2024/8/7 9:24
 **/
@Data
@TableName("db_drift_database")
public class DbDriftDatabase {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    /**
     * url
     */
    @TableField(value = "url")
    private String url;

    /**
     * 库
     */
    @TableField(value = "dbName")
    private String dbname;

    /**
     * 用户名
     */
    @TableField(value = "dbUserName")
    private String dbusername;

    /**
     * 密码
     */
    @TableField(value = "dbPassword")
    private String dbpassword;

    /**
     * 数据库订阅_用户名
     */
    @TableField(value = "spUserName")
    private String spusername;

    /**
     * 数据库订阅_密码
     */
    @TableField(value = "spPassword")
    private String sppassword;

    /**
     * 数据库订阅_最大连接
     */
    @TableField(value = "spMax")
    private String spmax;

    /**
     * 项目ID
     */
    @TableField(value = "project_id")
    private String projectId;

    private static final long serialVersionUID = 1L;



}
